package com.happy.zebra.admin.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Data;

@Data
@ApiModel(value = "sys_act_log_zebra")
@TableName(value = "sys_act_log_zebra")
public class SysActLogZebra {

	/** 主键 ID */
	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(value = "主键 ID")
	private Integer id;
	/** 操作类型： 1-服务-会员延期 2-服务-硬件权限延期 */
	@TableField(value = "`type`")
	@ApiModelProperty(value = "操作类型：,1-服务-会员延期 ,2-服务-硬件权限延期，3-服务-分配会员")
	private String type;
	/** 用户的 memberId */
	@TableField(value = "member_id")
	@ApiModelProperty(value = "用户的 memberId")
	private String memberId;
	/** 开通业务的时长，单位：天 */
	@TableField(value = "duration")
	@ApiModelProperty(value = "开通业务的时长，单位：天")
	private Integer duration;
	/** 操作人 */
	@TableField(value = "create_user")
	@ApiModelProperty(value = "操作人")
	private String createUser;
	/** 创建时间 */
	@TableField(value = "create_time")
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;

	public static final String COL_ID = "id";

	public static final String COL_TYPE = "type";

	public static final String COL_MEMBER_ID = "member_id";

	public static final String COL_DURATION = "duration";

	public static final String COL_CREATE_USER = "create_user";

	public static final String COL_CREATE_TIME = "create_time";
}